@import '@css/base.scss';

.header{
    z-index: 5;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: $baseColor;
    display: flex;
    align-items: center;
    height: 100px;
    color: #fff;
    font-size: 28px;
    .left{
        width: 150px;
        height: 100%;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .citybox{
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
        }
        .weather{
            margin-top: 10px;
            font-size: 20px;
        }
    }
    .mid{
        flex: 1;
        display: flex;
        align-items: center;
        .inputbox{
            flex: 1;
            display: flex;
            border-radius: 10px;
            height: 60px;
            background-color: #f5f5f5;
            overflow: hidden;
            .icon-search{
                flex-shrink: 0;
                display: block;
                width: 80px;
                height: 60px;
                text-align: center;
                line-height: 60px;
                color: #ddd;
                font-size: 50px;
            }
            input{
                flex: 1;
                background-color: transparent;
                padding-left: 10px;
            }
        }
    }
    .right{
        width: 80px;
        text-align: center;
        line-height: 80px;
        font-size: 40px;
    }
}